package com.lnking.lnkingplace.model.dto.isolation.place;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.lnking.lnkingplace.model.entity.PlaceInfo;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class PlaceDto {
    @ApiModelProperty("隔离场所表ID")
    private String id;

    @ApiModelProperty("场所名称")
    private String placeName;

    @ApiModelProperty("联系人")
    private String linkman;

    @ApiModelProperty("联系人电话")
    private String linkmanPhone;

    @ApiModelProperty("地址")
    private String address;

    @ApiModelProperty("房间总数")
    private String totalRoom;

    @ApiModelProperty("已使用房间数")
    private String usedRoom;

    @ApiModelProperty("未使用房间数")
    private String unuseRoom;

    @ApiModelProperty("消毒中房间数")
    private String disinfectionRoom;

    @ApiModelProperty("更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;

    @ApiModelProperty("工程房房间数")
    private String engineeringRoom;

    @ApiModelProperty("阈值（超过80%红色）")
    private String threshold;

    private Float longitude;

    private Float latitude;
}
